package com.zzyl.mapper;

import com.zzyl.dto.LoginDto;
import com.zzyl.vo.UserVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @Description LoginMapper
 * @Author chenchuang
 * @Date 2024-08-29
 */
@Mapper
public interface LoginMapper {

    @Select("select * from sys_user where username = #{username} and password = #{password}")
    UserVo getUsernameAndPassword(LoginDto loginDto);
}
